# -*- coding: utf-8 -*-  # 添加此行

'''
 全部路由地址路由路径集合


'''
from fastapi import APIRouter
from app.api.Base import ApiRouter
from app.api.app_config import ApiRouter as AppConfigRouter
from thirdpart.xf_iat.websocket_server import iflytek_ws_stt_router
from thirdpart.xf_iat.xfyun_service_translter_client import iflytek_translter_router
from thirdpart.xf_iat.websocket_tts_server import iflytek_ws_tts_router
from thirdpart.doubao_asr.websocket_server import doubao_ws_stt_router
from thirdpart.doubao_tts.websocket_tts_server import doubao_ws_tts_router
from thirdpart.aliyun_asr.websocket_server import aliyun_ws_asr_router
from app.api.ota import ota_router


ALLRouter = APIRouter()

#API路由
ALLRouter.include_router(ApiRouter)

ALLRouter.include_router(iflytek_ws_stt_router) #包含讯飞语音识别流式路由
ALLRouter.include_router(iflytek_translter_router) #包含讯飞机器翻译识别路由
ALLRouter.include_router(iflytek_ws_tts_router) #包含讯飞tts路由
ALLRouter.include_router(doubao_ws_stt_router) #包含豆包ASR路由
ALLRouter.include_router(doubao_ws_tts_router) #包含豆包TTS路由

ALLRouter.include_router(ota_router) #包含OTA固件管理路由
ALLRouter.include_router(aliyun_ws_asr_router) #包含阿里云ASR路由
ALLRouter.include_router(AppConfigRouter)  # 包含APP配置路由